﻿namespace LS.Nc6.Application.Cms
{
    /// <summary>
    /// 广告管理
    /// </summary>
    public interface ICmsBannerService : IBaseInterface<CmsBannerEntity>
    {
        /// <summary>
        /// 获取Left join List
        /// </summary>
        /// <param name="expression"></param>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="expressionOrder"></param>
        /// <param name="expressionSelect"></param>
        /// <returns></returns>
        Task<Tuple<List<dynamic>, int, int>> PageDynamicLeftJoinList(Expression<Func<CmsBannerEntity, SysDictionaryEntity, bool>> expression, int page, int limit,
             Expression<Func<CmsBannerEntity, SysDictionaryEntity, object>> expressionOrder, Expression<Func<CmsBannerEntity, SysDictionaryEntity, dynamic>> expressionSelect);

    }
}
